package system.model;

import system.common.Constants;

import collector.core.util.StringUtil;

/**
 * <pre>
 * Class : system.model.DB8_TxLoggingDto / DB8_TxLoggingDto.java
 * 	Define Class Object : 
 * <br>
 * </pre>
 * @author hwanLee / apexcns,Inc.
 * @version 1.1
 * @see javadoc
 * @since 2012. 9. 10.
 */
public class DB8_TxLoggingDto { 
	private String CLERK_NO;
	private String TRAN_CODE;
	private String TRAN_DATE;
	private String TRAN_TIME;
	private String PTY_ID;
	private String TERM_NO;
	private String IP_ADDR;
	private String CRUD_CLS;
	private String REF_NO_CLS;
	private String REF_NO;
	private String TRAN_DETL;
	private String EDW_INPUT_DATE;
	private String EDW_UPDATE_DATE;

	/** <pre>
	 * Method : DB8_TxLoggingDto.getCLERK_NO()
	 * 	to get cLERK_NO
	 * <br> 
	 * @return the cLERK_NO : type of String
	 * </pre>
	 */
	public String getCLERK_NO() {
		return CLERK_NO;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setCLERK_NO()
	 * 	to set cLERK_NO
	 * <br> 
	 * @return the cLERK_NO : type of String
	 * </pre>
	 */
	public void setCLERK_NO(String cLERK_NO) {
		this.CLERK_NO = cLERK_NO;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getTRAN_CODE()
	 * 	to get tRAN_CODE
	 * <br> 
	 * @return the tRAN_CODE : type of String
	 * </pre>
	 */
	public String getTRAN_CODE() {
		return TRAN_CODE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setTRAN_CODE()
	 * 	to set tRAN_CODE
	 * <br> 
	 * @return the tRAN_CODE : type of String
	 * </pre>
	 */
	public void setTRAN_CODE(String tRAN_CODE) {
		this.TRAN_CODE = tRAN_CODE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getTRAN_DATE()
	 * 	to get tRAN_DATE
	 * <br> 
	 * @return the tRAN_DATE : type of String
	 * </pre>
	 */
	public String getTRAN_DATE() {
		return TRAN_DATE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setTRAN_DATE()
	 * 	to set tRAN_DATE
	 * <br> 
	 * @return the tRAN_DATE : type of String
	 * </pre>
	 */
	public void setTRAN_DATE(String tRAN_DATE) {
		this.TRAN_DATE = tRAN_DATE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getTRAN_TIME()
	 * 	to get tRAN_TIME
	 * <br> 
	 * @return the tRAN_TIME : type of String
	 * </pre>
	 */
	public String getTRAN_TIME() {
		return TRAN_TIME;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setTRAN_TIME()
	 * 	to set tRAN_TIME
	 * <br> 
	 * @return the tRAN_TIME : type of String
	 * </pre>
	 */
	public void setTRAN_TIME(String tRAN_TIME) {
		this.TRAN_TIME = tRAN_TIME;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getPTY_ID()
	 * 	to get pTY_ID
	 * <br> 
	 * @return the pTY_ID : type of String
	 * </pre>
	 */
	public String getPTY_ID() {
		return PTY_ID;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setPTY_ID()
	 * 	to set pTY_ID
	 * <br> 
	 * @return the pTY_ID : type of String
	 * </pre>
	 */
	public void setPTY_ID(String pTY_ID) {
		this.PTY_ID = pTY_ID;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getTERM_NO()
	 * 	to get tERM_NO
	 * <br> 
	 * @return the tERM_NO : type of String
	 * </pre>
	 */
	public String getTERM_NO() {
		return TERM_NO;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setTERM_NO()
	 * 	to set tERM_NO
	 * <br> 
	 * @return the tERM_NO : type of String
	 * </pre>
	 */
	public void setTERM_NO(String tERM_NO) {
		this.TERM_NO = tERM_NO;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getIP_ADDR()
	 * 	to get iP_ADDR
	 * <br> 
	 * @return the iP_ADDR : type of String
	 * </pre>
	 */
	public String getIP_ADDR() {
		return IP_ADDR;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setIP_ADDR()
	 * 	to set iP_ADDR
	 * <br> 
	 * @return the iP_ADDR : type of String
	 * </pre>
	 */
	public void setIP_ADDR(String iP_ADDR) {
		this.IP_ADDR = iP_ADDR;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getCRUD_CLS()
	 * 	to get cRUD_CLS
	 * <br> 
	 * @return the cRUD_CLS : type of String
	 * </pre>
	 */
	public String getCRUD_CLS() {
		return CRUD_CLS;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setCRUD_CLS()
	 * 	to set cRUD_CLS
	 * <br> 
	 * @return the cRUD_CLS : type of String
	 * </pre>
	 */
	public void setCRUD_CLS(String cRUD_CLS) {
		this.CRUD_CLS = cRUD_CLS;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getREF_NO_CLS()
	 * 	to get rEF_NO_CLS
	 * <br> 
	 * @return the rEF_NO_CLS : type of String
	 * </pre>
	 */
	public String getREF_NO_CLS() {
		return REF_NO_CLS;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setREF_NO_CLS()
	 * 	to set rEF_NO_CLS
	 * <br> 
	 * @return the rEF_NO_CLS : type of String
	 * </pre>
	 */
	public void setREF_NO_CLS(String rEF_NO_CLS) {
		this.REF_NO_CLS = rEF_NO_CLS;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getREF_NO()
	 * 	to get rEF_NO
	 * <br> 
	 * @return the rEF_NO : type of String
	 * </pre>
	 */
	public String getREF_NO() {
		return REF_NO;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setREF_NO()
	 * 	to set rEF_NO
	 * <br> 
	 * @return the rEF_NO : type of String
	 * </pre>
	 */
	public void setREF_NO(String rEF_NO) {
		this.REF_NO = rEF_NO;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getTRAN_DETL()
	 * 	to get tRAN_DETL
	 * <br> 
	 * @return the tRAN_DETL : type of String
	 * </pre>
	 */
	public String getTRAN_DETL() {
		return TRAN_DETL;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setTRAN_DETL()
	 * 	to set tRAN_DETL
	 * <br> 
	 * @return the tRAN_DETL : type of String
	 * </pre>
	 */
	public void setTRAN_DETL(String tRAN_DETL) {
		this.TRAN_DETL = tRAN_DETL;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getEDW_INPUT_DATE()
	 * 	to get eDW_INPUT_DATE
	 * <br> 
	 * @return the eDW_INPUT_DATE : type of String
	 * </pre>
	 */
	public String getEDW_INPUT_DATE() {
		return EDW_INPUT_DATE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setEDW_INPUT_DATE()
	 * 	to set eDW_INPUT_DATE
	 * <br> 
	 * @return the eDW_INPUT_DATE : type of String
	 * </pre>
	 */
	public void setEDW_INPUT_DATE(String eDW_INPUT_DATE) {
		this.EDW_INPUT_DATE = eDW_INPUT_DATE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.getEDW_UPDATE_DATE()
	 * 	to get eDW_UPDATE_DATE
	 * <br> 
	 * @return the eDW_UPDATE_DATE : type of String
	 * </pre>
	 */
	public String getEDW_UPDATE_DATE() {
		return EDW_UPDATE_DATE;
	}

	/** <pre>
	 * Method : DB8_TxLoggingDto.setEDW_UPDATE_DATE()
	 * 	to set eDW_UPDATE_DATE
	 * <br> 
	 * @return the eDW_UPDATE_DATE : type of String
	 * </pre>
	 */
	public void setEDW_UPDATE_DATE(String eDW_UPDATE_DATE) {
		this.EDW_UPDATE_DATE = eDW_UPDATE_DATE;
	}

	@Override
	public String toString() {
	    String delimiter = Constants.delimiter;

	    String res = StringUtil.rTrim(CLERK_NO) + delimiter;
	    res += StringUtil.rTrim(TRAN_CODE) + delimiter;
	    res += StringUtil.rTrim(TRAN_DATE) + delimiter;
	    res += StringUtil.rTrim(TRAN_TIME) + delimiter;
	    res += StringUtil.rTrim(PTY_ID) + delimiter;
	    res += StringUtil.rTrim(TERM_NO) + delimiter;
	    res += StringUtil.rTrim(IP_ADDR) + delimiter;
	    res += StringUtil.rTrim(CRUD_CLS) + delimiter;
	    res += StringUtil.rTrim(REF_NO_CLS) + delimiter;
	    res += StringUtil.rTrim(REF_NO) + delimiter;
	    res += StringUtil.rTrim(TRAN_DETL) + delimiter;
	    res += StringUtil.rTrim(EDW_INPUT_DATE) + delimiter;
	    res += StringUtil.rTrim(EDW_UPDATE_DATE) + "\n";
	    
	    return res;
	}
}
